/**
 * @description 用户关系表
 * @author chengpeng
 */

const seq = require('../seq')
const {
    STRING,
    DECIMAL,
    TEXT,
    INTEGER,
    BOOLEAN
} = require('../types')

const UserRelation = seq.define('userRelation', {
    userId: {
        type: INTEGER,
        allowNull: false,
        comment: '用户 id'
    },
    followerId: {
        type: INTEGER,
        allowNull: false,
        comment: '被关注用户id'
    }
})

module.exports = UserRelation